package p1;

public class P1T04 {
    public static void main(String[] args) {
        MyDate d1=new MyDate(2024,3,11);
        MyDate d2=d1;
        System.out.println(d1.equals(d2));
        d2=new MyDate();
        System.out.println(d1.equals(d2));
        d2.setDate(2024,3,11);
        System.out.println(d1.equals(d2));
    }
}
